package guowei.guliorder.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "thread.pool")
@Component
@Data
public class ThreadPoolConfiguration {
    private Integer coreThread;
    private Integer maxThread;
    private Integer keepTime;
}
